package com.bicon.botu.medical.model.entity

import com.baomidou.mybatisplus.annotations.TableField
import com.baomidou.mybatisplus.annotations.TableName
import com.bicon.botu.core.base.repository.mybatis.UuidBaseEntity
import lombok.Data

/**
 * @version 1.0.0
 * @author: jiangbin
 * @date 2018/7/17
 * @description 训练实体类
 **/
@Data
@TableName("f_train")
class FitnessTrain : UuidBaseEntity<FitnessTrain>() {
    /**
     * 训练名称
     */
    @TableField("train_name")
    val trainName: String? = null
    /**
     * 描述
     */
    val describes: String? = null
    /**
     * 封面图
     */
    @TableField("cover_sheet")
    val coverSheet: String? = null
    /**
     * 背景图
     */
    @TableField("background_map")
    val backgroundMap: String? = null
    /**
     * 标签
     */
    @TableField("label_id")
    val labelId: String? = null
    /**
     * 部位id
     */
    @TableField("site_id")
    val siteId: String? = null
    /**
     * 有无器械 (0:无 1:有)
     */
    @TableField("any_equipment")
    val anyEquipment: Int? = null
    /**
     * 级别 (0:初级 1:中级 2:高级)
     */
    val level: Int? = null
    /**
     * 训练时长
     */
    @TableField("train_time")
    val trainTimeLong: Long? = null

    /**
     * 训练的卡路里
     */
    @TableField("calorie")
    val calorie: Long? = null
}